package com.zzld.modules.autoinn.entity;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "zzld_autoinn_user_register")
public class UserRegister {

	@Id
	private String id;
	
	private String nickname;
	
	@Column(name="customer_id")
	private String customerId;
	
	private String openid;
	
	private String wxaccount;
	
	private String phone;
	
	private String brand;
	
	private String motorcycle;
	
	private int state;
	
	private String imgeone;
	
	private String imgetwo;
	
	
	private Date createtime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getWxaccount() {
		return wxaccount;
	}

	public void setWxaccount(String wxaccount) {
		this.wxaccount = wxaccount;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getMotorcycle() {
		return motorcycle;
	}

	public void setMotorcycle(String motorcycle) {
		this.motorcycle = motorcycle;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getImgeone() {
		return imgeone;
	}

	public void setImgeone(String imgeone) {
		this.imgeone = imgeone;
	}

	public String getImgetwo() {
		return imgetwo;
	}

	public void setImgetwo(String imgetwo) {
		this.imgetwo = imgetwo;
	}

	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
	public Date getCreateime() {
		return createtime;
	}

	public void setCreateime(Date createtime) {
		this.createtime = createtime;
	}
	
	

	
	
	
}
